<script lang="ts" setup>
defineProps<{
  to: string
}>()
</script>

<template>
  <div class="xtx-bread-item">
    <RouterLink v-if="to" :to="to"><slot /></RouterLink>
    <span v-else><slot /></span>
  </div>
</template>
